package com.guanzi.big_data_mq_process.dao;

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.guanzi.big_data_mq_process.model.entity.OrderDetails;
import com.guanzi.big_data_mq_process.model.vo.OrderDetailsVO;
import com.guanzi.big_data_mq_process.model.query.OrderDetailsQuery;

/**
 * (OrderDetails) 数据库访问层
 *
 * @author xuguang
 * @since 2025-05-06 21:57:42
 */
@Mapper
public interface OrderDetailsDao extends BaseMapper<OrderDetails> {

    /**
     * 分页查询
     */
    IPage<OrderDetailsVO> getPage(Page<OrderDetails> page, @Param(Constants.WRAPPER) QueryWrapper<OrderDetails> queryWrapper, @Param("query") OrderDetailsQuery query);

    /**
     * 获取详情
     */
    OrderDetailsVO getInfo(@Param(Constants.WRAPPER) QueryWrapper<OrderDetails> queryWrapper);


}

